
#include "AbstractCmdManager.hpp"

namespace NSCore {

	AbstractCmdManager::AbstractCmdManager() :
		QObject(),
		AbstractObject() 
	{


	}

	AbstractCmdManager::~AbstractCmdManager() {
		qDeleteAll(m_redostack);
		m_redostack.clear();
		qDeleteAll(m_undostack); 
		m_undostack.clear();

	}

	void AbstractCmdManager::execute(NSCore::AbstractCommand* cmd, bool append) { cmd; }
	bool AbstractCmdManager::undo() { return true; }
	bool AbstractCmdManager::redo() { return true; }

}